package com.woniuxy.table.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 餐桌使用记录表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("table_used_record")
public class TableUsedRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 餐桌使用记录ID
     */
    @TableId(value = "table_used_record_id", type = IdType.AUTO)
    private Integer tableUsedRecordId;

    /**
     * 餐桌ID
     */
    private Integer tableId;

    /**
     * 商家ID
     */
    private Integer storeId;

    /**
     * 用餐人数
     */
    private Integer diningPerson;

    /**
     * 扫码时间
     */
    private Date usedTime;

    /**
     * 餐桌用餐记录状态  ORDERING用餐中 |  CANCELLED已取消 |  COMPLETED  已完成
     */
    private String tableUsedState;


}
